package org.jobtask.config;

import java.util.ResourceBundle;

public class JobTaskConfig {

	private static ResourceBundle config=null;
	
	static{
		String os=SystemIdentification.assertOS();
		if(os.equals("windows")){
		   config=ResourceBundle.getBundle("org.jobtask.config.jobtask_nt");
		}else{
			config=ResourceBundle.getBundle("org.jobtask.config.jobtask_linux");
		}
	}
	
	public static String getString(String key){
		return config.getString(key);
	}
	
	
}
